TapTree\WooCommerce\Payment\PaymentService A

Total Complexity 55
Dependencies 8
Dependents 2
Total lines 474
Lines of code 299
Logical lines of code 201
Comment lines 65
Methods 16
Properties 6

Methods 16

Method Rating Maintainability Complexity Lines of code
onPaymentGatewayWebhookCalled()
B
34 17 96
handle_payment_status_authorized()
A
44 7 45
checkSignature()
S
54 6 21
handle_payment_status_paid()
S
53 4 23
handle_payment_status_expired()
S
56 3 17
walletName()
S
71 3 6
getPaymentMethodDetails()
S
64 3 9
handle_payment_status_canceled()
S
58 2 14
paymentBrandName()
S
56 1 18
getPaymentMethodName()
S
69 2 7
handle_payment_WOO_STATUS_COMPLETED()
S
66 2 8
isFinalOrderStatus()
S
63 1 11
__construct()
S
66 1 8
setGateway()
S
77 1 4
handle_payment_status_failed()
S
64 1 9
handle_payment_status_partially_captured()
S
79 1 3